Feature: Coaches automatic syncing

  Background:
    Given I am signed in as a coach user
    	And there is at least one channel imported on the device
    	And there is a class to which I am assigned as a coach
    	And I have created a lesson and a quiz
    	And there are Learn-only devices which are connected to the classroom server
    	And learners registered to my class have completed a lesson and a quiz

		Scenario: See which learners have the *Not enough storage* error status
			Given there are learner devices with not enough storage
			When I go to *Coach > Class home*
				And I click *View learners*
			Then I am at *Coach > Class home > <class>* page
				And I see a list with all the learners enrolled in the class
				And I see a *Device status* value next to the *username* of each learner
				And I see a *!* red icon and a *Not enough storage* text next to any learners with not enough storage

		Scenario: See explanation of *Not enough storage* error status
			Given I am at *Coach > Class home > <class>* page
			When I click the link *Information about sync statuses*
			Then I see the *Information about sync statuses* modal
				And I see information about all of the available sync statuses
				And I see a *!* red icon and a *Not enough storage* text next to it
				And I see the following text: This device does not have enough space for updates. Try checking the size of your active lessons and quizzes and archiving the ones you aren't using right now.*

		Scenario: Go to manage lessons and quizzes from the storage error alert
			Given I am at *Coach > Class home > <class>* page
				And there are learner devices with not enough storage
			Then I see the storage error alert above the table: *Some devices do not have enough storage for updates. Change the visibility of any active lessons and quizzes you aren't using right now to free up space.*
				And I see a *Manage lessons and quizzes* link
			When I click the *Manage lessons and quizzes* link
			Then I am at the *Coach > Plan* tab #TODO
